package com.lottery.material.enumeration.transaction;

import com.lottery.material.enumeration.base.BaseEnum;
import lombok.Getter;

/**
 * Description：用户收益明细记录枚举类
 * Created by 朱正磊 on 2019-04-18 15:55
 */
@Getter
public enum UserEarnRecordEnum implements BaseEnum {

    // 收益类型（1：打赏；2：文章；3：消费）
    EARN_TYPE_REWARD("EARN_TYPE", 1, "打赏"),
    EARN_TYPE_ARTICLE("EARN_TYPE", 2, "文章"),
    EARN_TYPE_CONSUME("EARN_TYPE", 3, "消费"),
    ;

    private String code;
    private Object value;
    private String description;

    UserEarnRecordEnum(String code, Object value, String description) {
        this.code = code;
        this.value = value;
        this.description = description;
    }

    public static final String EARN_TYPE = "EARN_TYPE";

}
